c4047f8f1d16353bf6961f267a622f04a5eb6240,src/main/java/org/reinert/jsonschema/JsonSchema.java,JsonSchema,generateSchema,#Field#,239

Before Change


		
		Annotation[] ans = field.getAnnotations();
		for (Annotation a : ans) {
			if (a.annotationType() == SchemaProperty.class) {
				SchemaProperty props = (SchemaProperty) a;
				if (!props.id().isEmpty()) {
					schema.setId(props.id());

After Change


		
		Annotation[] ans = field.getAnnotations();
		for (Annotation a : ans) {
			if (a.annotationType().equals(SchemaProperty.class)) {
				SchemaProperty props = (SchemaProperty) a;
				if (!props.id().isEmpty()) {
					schema.setId(props.id());